package com.debao.system.domain;

import java.util.Date;

import com.debao.system.domain.vo.EasyUser;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.debao.common.annotation.Excel;
import com.debao.common.core.domain.BaseEntity;

/**
 * 关注对象 interest
 * 
 * @author DeBao
 * @date 2024-07-25
 */
@Data
@Accessors(chain = true)
public class Interest{
    /** id */
    private Long id;

    /** 用户id */
    private Long userId;

    /** 关注关联 */
    private Long otherId;

    /** 关注时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm")
    private Date createAt;
    /**
     * 用户对象
     * @return
     */
    private EasyUser easyUser;

}
